package com.hst.web.base.ui;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TCompanyEmployee;
import com.hst.web.base.proxy.ContractorUpgradeProxy;

@EInfo(name = "contractor-upgrade", title = "升级承包商管理员", entity = TCompanyEmployee.class,proxy=ContractorUpgradeProxy.class)
public class ContractorUpgrade extends MetaData{

	@EField(name = "employeeCode", title = "员工编号", list = false, form = 0)
	private String employeeCode;

	@EField(name = "fullname", title = "姓名", query = FieldQuery.LIKE, validate = "required")
	private String fullname;

	@EField(name = "papersType", title = "证件类型",editor = "select.papersType", viewer = "dict.papersType", validate = "required")
	private String papersType;

	@EField(name = "papersNumber", title = "证件号码", viewer = "papersnumber", validate = "required")
	private String papersNumber;

	@EField(title = "实名认证", form = 0, viewer = "dict.identifyflag", editor = "select.identifyflag", query = FieldQuery.EQ)
	private String identifyFlag;

	@EField(mapped = false, title = "承包商",query = FieldQuery.EQ,form = 0,viewer="dict.contractor-all",editor="select.contractor-info")
	private String contractor;

	@EField(mapped = false, title = "角色",form = 0,viewer="dict.roles",editor="select.rolesLevel1", query = FieldQuery.EQ)
	private String role;

	public String getIdentifyFlag() {
		return identifyFlag;
	}

	public void setIdentifyFlag(String identifyFlag) {
		this.identifyFlag = identifyFlag;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getContractor() {
		return contractor;
	}

	public void setContractor(String contractor) {
		this.contractor = contractor;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getPapersType() {
		return papersType;
	}

	public void setPapersType(String papersType) {
		this.papersType = papersType;
	}

	public String getPapersNumber() {
		return papersNumber;
	}

	public void setPapersNumber(String papersNumber) {
		this.papersNumber = papersNumber;
	}
}
